package com.vortexinfo.demos;

import java.io.File;
import java.io.IOException;

import jxl.read.biff.BiffException;

import com.vortexinfo.util.JXLUtil;

public class Excle {

	public static void main(String[] args) throws BiffException, IOException {

		JXLUtil jxlUtil = new JXLUtil(new File("C:" + File.separator + "Users" + File.separator + "USER" + File.separator + "Desktop" + File.separator + "trunkroad_import_data.xls"));
		System.out.println("totalCells:" + jxlUtil.totalCells);
		System.out.println("totalRows" + jxlUtil.totalRows);
		for (int i = 0; i < jxlUtil.totalRows; i++) {
			for (int j = 0; j < jxlUtil.totalCells; j++) {
				System.out.println(i + "行" + j + "列：" + jxlUtil.getData(j, i));
			}
		}

	}
}
